//
//  EarlyTeachCollectionCell.m
//  baodongPro
//
//  Created by feng on 16/3/6.
//  Copyright © 2016年 proper. All rights reserved.
//

#define tipLabelHeight   40

#import "EarlyTeachCollectionCell.h"
#import "UIView+FBDQuickCreateUI.h"
@implementation EarlyTeachCollectionCell
-(instancetype)initWithFrame:(CGRect)frame
{

    self=[super initWithFrame:frame];
    if(self)
    {

        _v_middleImageView=[self fbd_quickCreateUIImageViewWithFrame:CGRectMake(0, 0, CGRectGetWidth(frame), CGRectGetHeight(frame)-tipLabelHeight) withImageName:nil];
        _v_middleImageView.backgroundColor=[UIColor grayColor];
        [self addSubview:_v_middleImageView];
        
        
        
        _v_FootNameLabel=[self fbd_quickCreateUILabelWithFrame:CGRectMake(0, CGRectGetHeight(frame)-tipLabelHeight, CGRectGetWidth(frame), tipLabelHeight)];
        _v_FootNameLabel.backgroundColor=[self randomColor];
        [self addSubview:_v_FootNameLabel];
        _v_FootNameLabel.textAlignment=NSTextAlignmentCenter;
        
        
        
        
    }


    return self;

}
@end
